<%-- 
    Document   : editUser
    Created on : 08/11/2011, 18:07:57
    Author     : great
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link rel="stylesheet" href="../css/login.css" type="text/css" />

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <form name="editUser" action="editUser" method="post"  >
            <fieldset>
                <legend> Edit User</legend>
                <label >Name: </label>
                <input id="name" type="text" name="user.name" /> <br />

                <label for="pass">E-mail: </label>
                <input id="email" type="text" name="user.email" /> <br />

                <label for="login">Login: </label>
                <input id="login" type="text" name="user.login" /> <br />

                <label for="pass">Pass: </label>
                <input id="pass" type="password" name="user.pass" /> <br />

                <label for="pass">Confirm pass: </label>
                <input id="pass2" type="password" name="pass2" /> <br />



                <button id="btSubmit" type="submit"  >Update</button> <br />
                <a href="javascript:history.back(1);">Voltar</a> <br />

                <c:forEach var="error" items="${errors}">   
                    <li>${error.message}</li>   
                </c:forEach>  


            </fieldset>
        </form>
    </body>
</html>
